/**
 * Project: web-potal
 * Package: com.made2ordersoftware.daycare.business.report
 * File: IReport.java
 * Created: Mar 10, 2014
 */
/**
 * Copyright (c) 2010 Made 2 Order Software, LLC
 *
 * All rights reserved. No part of this software may be reproduced, stored in a retrieval system, or
 * transmitted in any form or by any means, without the prior written permission of Made 2 Order Software.
 *
 * You may not distribute the URL or redistribute the files to third parties. You may transfer the files onto
 * a single storage device so long as you can prove ownership of the software. You may not reverse engineer,
 * decompile, or disassemble the software or media files. You may not modify or translate the software or
 * media, or distribute copies of the software or media without the written consent of Made 2 Order Software,
 * LLC.
 */
package com.made2ordersoftware.daycare.business.report;

import com.itextpdf.text.DocumentException;
import com.itextpdf.text.pdf.PdfPTable;
import com.made2ordersoftware.daycare.domain.TimeWatchedEntity;
import java.util.List;
import javax.ejb.Stateless;

/**
 *
 * @author David
 * @version 1.0.0
 */
@Stateless
public interface IReport {

    /**
     * Create the table to be displayed in the pdf.
     *
     * @param records Records being displayed
     *
     * @return A PdfPTable to be displayed in a pdf file
     *
     * @throws DocumentException Any exception thrown while created the pdf table.
     */
    PdfPTable fillInTable(List<TimeWatchedEntity> records) throws DocumentException;

}
